package me.ereach.oopinterface;

public class Tax implements ITax{
    @Override
    public float getTax(float income) {
        if (income > 5000)
            return (income - 5000) * 0.17f;

        return 0;
    }
}
